package schoolWork.work02;

public class Card {
    //定义两个成员变量
    private String face;
    private String suit;
    //定义一个构造方法
    public Card(String face, String suit) {
        this.face = face;
        this.suit = suit;
    }
    protected String getSuit() {
        return suit;
    }
    protected String getFace() {
        return face;
    }
    public String toString() {
        return face + "" + suit;
    }

}
